package com.example.recycler.app

import android.app.Application
import android.content.Context

/**
 * Created by 舍长 on 2019/4/9
 * describe:
 */
class App : Application() {
    companion object {
        var _context: Application? = null
        fun getContext(): Context {
            return _context!!
        }

    }

    override fun onCreate() {
        super.onCreate()
        _context = this
    }
}